#pragma once

#include <QtWidgets/QWidget>
#include "ui_TcpClient.h"
#include "qicon.h"
#include "qtcpsocket.h"
#include "qhostaddress.h"
#include "qmessagebox.h"
#include "chat.h"

class TcpClient : public QWidget
{
    Q_OBJECT

public:
    TcpClient(QWidget *parent = nullptr);
    ~TcpClient();

private slots:
	void on_connectButton_clicked();
	void on_cancelButton_clicked();
private:
    Ui::TcpClientClass ui;
	QTcpSocket *socket;
};
